
import store from '../Redux/store'

export const asyncfuncaction = data => ({ type: 'clickasync', data })

export const delayaction = (data, time) => {
    return () => {
     setTimeout(() => {
         store.dispatch(asyncfuncaction(data))
     }, time);
 }
}

